Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch Additional Properties Scheme #340

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nielsbox
Copy link

Fixes issue where scheme defined in additionalProperties is not being replaced by true.

Example in Open API 3.0

additionalProperties:
    oneOf:
      - type: string
      - type: object
        additionalProperties: false
        properties:
          foo:
            type: string

Expected in Swagger 2.0:

additionalProperties: true

What actually happened:
No filtering at all.

@nielsbox nielsbox force-pushed the patch-additional-property-scheme branch from 53feae9 to 27b7626 Compare April 12, 2022 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant